Release 10.1A: OpenEdge Development:
ADM Reference


submitForeignKey

Called from submitRow, this procedure defines Foreign Key values for a new row.

Location: data.p

Parameters:

INPUT pcRowIdent

The RowIdent (a comma-delimited list of ROWIDs that uniquely identify the RowObject record) of the new RowObject record to be stored in the database. Since this is a new record, only the first ROWID (that of the RowObject itself) is valid. There are no database ROWIDs because they have not yet been created.

INPUT-OUTPUT pcValueList

A CHR(1)-delimited list of column and value pairs to be set in the RowObject record identified by pcRowIdent. On input it is a list that has been set before submitForeignKey was called. On output it is the now current list with the addition of any foreign fields that have been set.

INPUT-OUTPUT pcUpdColumns

A comma-delimited list of column names that are updatable in the SmartDataObject. If ForeignFields are set and added to the pcValueList, they are also added to pcUpdColumns to let the calling code know that it is permissible to update them.

Notes:


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095